home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-onions-x400p772-822-mapping-01.txt < prev    next >
Text File  |  1993-10-26  |  12KB  |  417 lines

  1.  
  2.                              Internet Draft
  3.                  Mapping between X.400 P772 and RFC-822
  4.  
  5.                               Graeme Lunt
  6.                              Julian Onions
  7.  
  8.                                NEXOR Ltd
  9.                                 Oct 93
  10.  
  11. 1. Status of this Memo
  12.  
  13.    This document is an Internet Draft.  Internet Drafts are working
  14.    documents of the Internet Engineering Task Force (IETF), its Areas,
  15.    and its Working Groups.  Note that other groups may also distribute
  16.    working documents as Internet Drafts.
  17.  
  18.    Internet Drafts are valid for a maximum of six months and may be
  19.    updated, replaced, or obsoleted by other documents at any time.  (The
  20.    file 1id-abstracts.txt on nic.ddn.mil describes the current status of
  21.    each Internet Draft.) It is not appropriate to use Internet Drafts as
  22.    reference material or to cite them other than as a "work in
  23.    progress".
  24.  
  25. 2. Abstract
  26.  
  27.    This document describes a method for allowing the exchange of P772
  28.    military X.400 mail with RFC-822 text based mail. This allows
  29.    gateways to convert between the two provided certain criteria are
  30.    met.
  31.  
  32.    The version of this document is known as draft-onions-x400p772-822-
  33.    mapping-01.
  34.  
  35. 3. Introduction
  36.  
  37.    RFC-822 defines a protocol for the format of electronic messages
  38.    exchanged on the Internet. This protocol is text based an in very
  39.    common usage.
  40.  
  41.    P772 is a military specification defined in STANAG 4406 which defines
  42.    a number of extensions to the basic X.400 (1988) protocol for the
  43.    services required by military mail. The extensions are fairly small
  44.    and do not impact on security, which is already covered in X.400.
  45.  
  46.    This document is concerned with P772 version 1.0 published on
  47.    December 6, 1991. A set of possible syntaxes for version 1.4 which is
  48.    currently in draft status is included as in this document.
  49.  
  50.  
  51.  
  52.  
  53. Lunt, Onions              Expires May 22, 1994          [Page 1]
  54.  
  55.  
  56.  
  57.  
  58.  
  59. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 93
  60.  
  61.  
  62.    This document allows where possible the mapping of the service ele-
  63.    ments between the two protocols. As RFC-822 does not have all the
  64.    services that P772 supports, this mapping mostly enables the inten-
  65.    tions to be passed through the gateway so that RFC-822 recipients can
  66.    view them.  There is obviously no way a user with a standard RFC-822
  67.    based user agent can take action on these. This document is built on
  68.    and extends the RFC-1327 X.400 mapping specifically for the P772
  69.    attributes.
  70.  
  71.    The document is primarily aimed at the ability to represent P772 mes-
  72.    sages in RFC-822, although it does allow RFC-822 users limited access
  73.    to P772 features.
  74.  
  75.    This mapping also allows a message that travels P772 - RFC-822 - P772
  76.    to mostly recover the original elements of service. Where new RFC-822
  77.    Headers are defined they are prefixed with the string P772- to dis-
  78.    tinguish them from any other extensions.
  79.  
  80.    It is unclear how much traffic there will be between the communities
  81.    using P772 and the existing RFC-822 community at this time. However,
  82.    such a document as this allows implementors of RFC-1327 based gate-
  83.    ways to "do something sensible" on the receipt of a P772 format mes-
  84.    sage.
  85.  
  86. 4. General Mappings
  87.  
  88.    If any of the mappings are used, a new header field MUST be intro-
  89.    duced into the RFC-822 address
  90.  
  91.       P772-Version: 1.0
  92.  
  93.    This identifies the version of P772 that is being carried. If
  94.    present, this field should preceed all other P772 specific header
  95.    fields. This allows implementations to change their parsing rules if
  96.    required, dependant on version.
  97.  
  98. 5. MTA Mappings
  99.  
  100.    P772 only defines one extra element of service at the P1 or MTA
  101.    level.  This is Priority-Level-Qualifier. This is reversibly mapped
  102.    into the new address header field P772-Priority-Level-Qualifier.
  103.    This field has the syntax of a labelled-integer described in RFC-
  104.    1327. It can have the values of
  105.  
  106.       low (0)
  107.       high (1)
  108.  
  109.    or for extensibility just a number
  110.  
  111.  
  112.  
  113. Lunt, Onions              Expires May 22, 1994          [Page 2]
  114.  
  115.  
  116.  
  117.  
  118.  
  119. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 93
  120.  
  121.  
  122.       (3)
  123.       (5)
  124.  
  125.    When reversing the mapping, just the number should be used. This is
  126.    general to all labelled integers used in this document.  An example
  127.    of such a field might be
  128.  
  129.       P772-Priority-Level-Qualifier: low(0)
  130.  
  131.  
  132. 6. MTS Mappings
  133.  
  134.    P772 defines a number of extra elements to the basic P2 Header struc-
  135.    ture. These are principally mapped into new header fields in RFC-822.
  136.    These are discussed in turn.
  137.  
  138.    Exempted-Address.
  139.         This is mapped into the new RFC-822 field P772-Exempted-Address.
  140.         It has a syntax of a sequence of strings, which are separated by
  141.         the
  142.  
  143.            P772-Exempted-Address: Captain Picard & Worf & Tasha Ya
  144.  
  145.         More formally this is defined as a printable-string-sequence by
  146.         the following EBNF.
  147.  
  148.            printable-string-sequence ::=
  149.                 printablestring [ "&" printable-string-sequence ]
  150.  
  151.  
  152.    Extended-Authorisation-Info
  153.         This is mapped into the new RFC-822 field P772-Extended-
  154.         Authorisation-Info.  It has a syntax of 822.date-time, and is
  155.         mapped in the manner described in RFC-1327.  Examples might
  156.         include:
  157.  
  158.            P772-Extended-Authorisation-Info:
  159.                Thu, 2 Sep 1993 08:58:50 +0100
  160.  
  161.  
  162.    Distribution-Codes
  163.         This is mapped into the new RFC 822 field P772-Distribution-
  164.         Codes.  It has a syntax composed of the following BNF
  165.  
  166.            distribution-code ::= sic-sequence "&" dist-code-sequence
  167.            sic-sequence ::= sic [ "#" sic-sequence ]
  168.            sic ::= printablestring
  169.  
  170.  
  171.  
  172.  
  173. Lunt, Onions              Expires May 22, 1994          [Page 3]
  174.  
  175.  
  176.  
  177.  
  178.  
  179. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 93
  180.  
  181.  
  182.            dist-code-sequence ::= dist-code [ "#" dist-code-sequence ]
  183.            dist-code ::= printablestring
  184.  
  185.         An example might be
  186.  
  187.            P772-Distribution-Codes: ABC # DEF &
  188.                USS-Enterprise # USS-Intrepid
  189.  
  190.  
  191.    Handling-Instructions
  192.         This is mapped into the new RFC-822 field P772-Handling-
  193.         Instructions.  It has the syntax printable-string-sequence as
  194.         defined above.  An example might be
  195.  
  196.            P772-Handling-Instructions: beam down to planet & await instructions
  197.  
  198.  
  199.    Message-Instructions
  200.         This is mapped into the new RFC-822 field P772-Message-
  201.         Instructions.  The syntax is again printable-string-sequence.
  202.         An example might be
  203.  
  204.            P772-Message-Instructions: Take out of space pod & reconstitute
  205.  
  206.  
  207.    Codress-Message
  208.         This is mapped into the new RFC-822 header field P772-Codress-
  209.         Message.  It has a syntax of EBNF.numericstring as defined in
  210.         RFC-1327
  211.  
  212.            P772-Codress-Message: 23
  213.  
  214.  
  215.    OriginatorIdentifier
  216.         This is mapped into the new RFC-822 field P772-Originator-
  217.         Identifier.  It has a syntax of printablestring
  218.  
  219.            P772-Originator-Identifier: Mr Data
  220.  
  221.  
  222.    PrimaryPrecedence / CopyPrecedence
  223.         These attributes use the same syntax of labelled-integer and are
  224.         encoded into the new RFC-822 heading fields
  225.  
  226.            P772-Primary-Precedence: deferred(0)
  227.            P772-Copy-Precedence: flash(4)
  228.  
  229.  
  230.  
  231.  
  232.  
  233. Lunt, Onions              Expires May 22, 1994          [Page 4]
  234.  
  235.  
  236.  
  237.  
  238.  
  239. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 93
  240.  
  241.  
  242.    MessageType
  243.         This is encoded into the new RFC-822 field P772-Message-Type.
  244.         It has a syntax described by the following EBNF.
  245.  
  246.            int-and-printablestring ::=
  247.                labelled-integer [ "=" printablestring ]
  248.  
  249.         The printablestring component is optional in this attribute, and
  250.         may be missed off if not present.
  251.  
  252.            P772-Message-Type: exercise(0) = space manoeuvre
  253.  
  254.  
  255.    OtherRecipientIndicator
  256.         This is mapped into the new header field P772-Other-Recipient-
  257.         Indicator.  It has a syntax as follows
  258.  
  259.            int-and-ps-list ::=
  260.                int-and-printablestring [ "&" int-and-ps-list ]
  261.  
  262.         And example of this might be
  263.  
  264.            P772-Other-Recipient-Indicator:
  265.                information (0) = Commander W. Riker, Star Base XII &
  266.                action (1) = Lt. LaForge, Planet Recon Party
  267.  
  268.  
  269.    AcpMessageIdentifier
  270.         This is mapped into the new RFC-822 header field P772-Acp-
  271.         Message-Identifier.  The syntax is a simple printablestring
  272.  
  273.            P772-Acp-Message-Identifier:
  274.                41153.7.bridge.enterprise.sector34.milkyway
  275.  
  276.  
  277.    OriginatorPLAD
  278.         This is mapped into a new RFC-822 field with syntax printable-
  279.         string.
  280.  
  281.            P772-Originator-PLAD: Captains Chair, bridge, USS enterprise.
  282.  
  283.  
  284.    AddressListIndicator
  285.         Mapped into a new header field P772-Address-List-Indicator.
  286.         This has the following EBNF syntax.
  287.  
  288.            address-list-indicator::=
  289.                 int-and-printablestring "#"
  290.  
  291.  
  292.  
  293. Lunt, Onions              Expires May 22, 1994          [Page 5]
  294.  
  295.  
  296.  
  297.  
  298.  
  299. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 93
  300.  
  301.  
  302.                 [ labelled-integer ] "#"
  303.                 [ labelled-integer ]
  304.                 [ "&" address-list-indicator ]
  305.  
  306.         This might result in the header field
  307.  
  308.            P772-Address-List-Indicator:
  309.                primaryAddressList (0) = ships-crew # action(0) # info(1)
  310.  
  311.  
  312.    PilotForwardingInfo
  313.         Mapped into a new header field P772-Pilot-Forwarding-Info.  It
  314.         has a syntax of
  315.  
  316.            pilot-info ::=
  317.                labelled-integer "="
  318.                [ recipientlist ] "#"
  319.                [ printablestring *[ "%" printablestring ] ]
  320.            recipientlist ::= ??? [ "%" recipientlist ]
  321.  
  322.         If the security label is present, then this element cannot be
  323.         translated. In this case it is probably best to generate a
  324.         delivery report.  The definition of Recipient does not seem to
  325.         be defined.
  326.  
  327.            P772-Pilot-Forwarding-Info:
  328.                routine(1) = ???? # transport % open on planet
  329.  
  330.  
  331. 7. Mappings for the proposed 1.4 version of P772.
  332.  
  333.    There are not many changes need to encompass the proposed changes to
  334.    1.4. The possible syntaxes that change are defined here.  If 1.4 mes-
  335.    sages are being converted, a header of
  336.  
  337.       P772-Version: 1.4
  338.  
  339.    MUST be inserted.
  340.  
  341.    DistributionCodes
  342.         This mapping would be as before, except there is no second set
  343.         of strings. If the extensions in this X.400 element are present,
  344.         this is not mapped. The message may be rejected if required.
  345.         Alternatively, a gateway may implement specific extensions only.
  346.  
  347.    AddressListIndicator
  348.         The ORDescriptor present in this new attribute, will be mapped
  349.         as in RFC-1327 but will otherwise use the same mapping as above.
  350.  
  351.  
  352.  
  353. Lunt, Onions              Expires May 22, 1994          [Page 6]
  354.  
  355.  
  356.  
  357.  
  358.  
  359. INTERNET DRAFT           P772 to RFC822 Mapping                   Oct 93
  360.  
  361.  
  362.    ACP127NotificationRequest
  363.         This can be mapped into RFC-822 Header of P772-ACP127-
  364.         Notification-Request.  The syntax will be a comma separated list
  365.         of bits, in labelled-integer format.
  366.  
  367.            P772-ACP127-Notification-Request: acp127-nn
  368.  
  369.  
  370.    Acp127NotificationResponse
  371.         This can be mapped into the RFC-822 Header P772-ACP127-
  372.         Notification-Response. The syntax is as follows
  373.  
  374.            acp127notificationresponse ::=
  375.                1*labelled-integer "#"
  376.                822.date-time "#"
  377.                [ printablestring ] "#" ; Acp127Recipient
  378.                [ printablestring ] "#" ; Acp127SuppInfo
  379.                address-list-indicator
  380.  
  381.         The two printable strings are the Acp127Recipient and
  382.         Acp127SuppInfo elements respectively.
  383.  
  384. 8. Security Considerations
  385.  
  386.    Security considerations are not discussed in this document.
  387.  
  388. 9. Authors' Addresses
  389.  
  390.    Graeme Lunt <g.lunt@nexor.co.uk>
  391.    Julian Onions <j.onions@nexor.co.uk>
  392.  
  393.    NEXOR Ltd
  394.    PO Box 132
  395.    Nottingham
  396.    NG7 2UU
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413. Lunt, Onions              Expires May 22, 1994          [Page 7]
  414.  
  415.  
  416.  
  417.